package com.soilflow.common.enums;

public enum PublishStatus {
    DRAFT(0,new String[]{"草稿"}),
    SUBMITTED(1, new String[]{"已提交","待审核"}),
    PASSED(2,new String[]{"已通过","待发布"}),
    REJECTED(3,new String[]{"已驳回"}),
    PUBLISHED(4,new String[]{"已发布"}),
    UNSHELVED(5,new String[]{"已下架"});

    PublishStatus(Integer code, String[] message) {
        this.code = code;
        this.message = message;
    }

    private Integer code;
    private String[] message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String[] getMessage() {
        return message;
    }

    public void setMessage(String[] message) {
        this.message = message;
    }
}
